|
Test clue generation based on UML interaction overview diagram
ZENG Yi WANG Cuiqin LI Hanyu HONG Hao
Journal of Computer Applications
2014, 34 (1):
270-275.
DOI: 10.11772/j.issn.1001-9081.2014.01.0270
Concerning the problem that single UML model can not test the software sufficiently, this paper proposed a new method of automatically generating software test clues by combining the characteristics of UML2.0 interaction overview diagram. First, this paper gave the formal definition of UML class diagrams, sequence diagrams and Interaction Overview Diagrams (IOD) . Second, the Node Control Flow Graph (NCFG) was constructed by extracting the process information of the interaction overview diagram while the Message Sequence Diagrams (MSD) were constructed by extracting the object interaction information. The testable model of IOD was constructed by embedding the MSD's message path into NCFG. At last, the paper adopted two-two coverage criterion to generate test clues. The experiment verifies that this method which automatically generates test clues avoids the combinatorial explosion while guaranteeing the test adequacy.
Related Articles |
Metrics
|
|